Mutter now updates the activation environment itself when running
outside a gnome-shell session.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3775>
esac
done
-FORCE_DISPLAY=1
if should_run_nested; then
if has_devkit; then
SHELL_ARGS+=( --devkit )
- FORCE_DISPLAY=0
elif has_nested; then
SHELL_ARGS+=( --nested )
else
SHELL_ARGS+=( --wayland )
fi
-if [ $FORCE_DISPLAY -gt 0 ]; then
- display=toolbox-wayland-$RANDOM
- SHELL_ENV+=(WAYLAND_DISPLAY=$display)
- SHELL_ARGS+=(--wayland-display=$display)
-fi
-
toolbox --container $TOOLBOX run \
env "${SHELL_ENV[@]}" dbus-run-session $GDB gnome-shell "${SHELL_ARGS[@]}"